<#import "/common/taglibs/spring.ftl" as spring/>
<#macro radio name="" items=[]>
<div class="m-radio-inline">
    <#list items as item>
        <label class="m-radio">
            <input type="radio" name="${name}" value="${item}" ${(item_index==0)?string('checked','')}> <@spring.message code="${item.info}"/>
            <span></span>
        </label>
    </#list>
</div>
</#macro>